﻿using AutoMapper;
using BlogSystem.Data.Entity;
using BlogSystem.Model.Request;
using BlogSystem.Model.Respones;

namespace BlogSystem.Data.Mapper;

public class ArticleProfile:Profile
{
    public ArticleProfile()
    {
      
        //实体 装 vo
        CreateMap<Article, ArticleResponse>();

        CreateMap<GetArticleRequest, Article>();
    }
}